<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Principal Hibernate Senac</title>
    </h:head>
    <h:body>
        <p:layout fullPage="true">
            <p:layoutUnit position="north" size="135" header="Hibernate" resizable="true" closable="true" collapsible="true">
                <p:graphicImage value="imagem/logo_java.png"
                                style="display: block; margin: 0 auto;"/>
            </p:layoutUnit>

            <p:layoutUnit position="south" size="70" header="Rodapé" resizable="true" closable="true" collapsible="true">
                <h:outputText value="Tel: (48)3030-3030" />
            </p:layoutUnit>

            <p:layoutUnit position="west" size="200" header="Menu" resizable="true" closable="true" collapsible="true">
                <h:form>      
<!--                    <p:panelMenu style="width:200px">  
                        <p:submenu label="Menu">  
                            <p:menuitem value="Home" url="principal.faces"  
                                        icon="ui-icon-disk" />  
                            <p:menuitem value="CEP" action="#{cepC.pesqCep()}" 
                                        icon="ui-icon-disk" ajax="false"/>  
                            <p:menuitem value="Fornecedor" action="#{fornecedorC.pesqFornecedor()}"  
                                        icon="ui-icon-arrowrefresh-1-w" />
                            <p:menuitem value="Admin" url="admin/bemVindoAdmin.faces"
                                        icon="ui-icon-arrowrefresh-1-w" />
                            <p:menuitem value="Registrado" url="registrado/indexReg.faces"
                                        icon="ui-icon-arrowrefresh-1-w" />
                        </p:submenu>       
                    </p:panelMenu>  -->

                </h:form> 
            </p:layoutUnit>

            <ui:insert name="center">
                <p:layoutUnit position="center" header="Principal">
                    <p:graphicImage value="imagem/batman.gif"
                                    style="display: block; margin: 100px auto; width: 350px;"/>
                </p:layoutUnit>
            </ui:insert>
        </p:layout>
    </h:body>
</html>